package com.starlight.flower_server.domain.service.cart;

import com.starlight.flower_server.domain.cart.data.CartData;
import com.starlight.flower_server.infrastructure.entity.cart.Cart;
import com.starlight.flower_server.infrastructure.entity.cart.CartItem;

/**
 * @Author yfy2001
 * @date 2023/5/19 12:44
 */
public interface CartService {

    CartData  getDetail();

    Cart getCart();

    Boolean addItem(CartItem cartItem);

    Boolean removeItem(Long itemId);

    Cart createCart();
}
